package com.jinmdz.fmis.dao.model.search;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BasePageData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 火化档案查询实体
 *
 * @author GuanKui
 * @date 2020/2/24 13:48
 */
@ApiModel(value = "火化档案查询实体", description = "火化档案查询实体")
public class SearchCremationArchivesData extends BasePageData {

    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value = "逝者姓名", name = "deadName", position = 2)
    private String deadName;

    /**
     * 逝者家属姓名
     */
    @ApiModelProperty(value = "逝者家属姓名", name = "memberName", position = 3)
    private String memberName;

    /**
     * 承办人单位或姓名
     */
    @ApiModelProperty(value = "承办人单位或姓名", name = "agentName", position = 4)
    private String agentName;

    /**
     * 到馆日期段，开始日期（含）
     */
    @ApiModelProperty(value = "到馆日期段，开始日期（含）", name = "arrivedTimeStart", example = "2020-02-03", position = 5)
    @JsonFormat(pattern = yyyy_MM_dd)
    private Date arrivedTimeStart;

    /**
     * 到馆日期，截止日期（含）
     */
    @ApiModelProperty(value = "到馆日期，截止日期（含）", name = "arrivedTimeEnd", example = "2020-02-03", position = 6)
    @JsonFormat(pattern = yyyy_MM_dd)
    private Date arrivedTimeEnd;

    public String getBusinessCode() {
        return businessCode;
    }

    public SearchCremationArchivesData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public SearchCremationArchivesData setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public String getMemberName() {
        return memberName;
    }

    public SearchCremationArchivesData setMemberName(String memberName) {
        this.memberName = memberName;
        return this;
    }

    public String getAgentName() {
        return agentName;
    }

    public SearchCremationArchivesData setAgentName(String agentName) {
        this.agentName = agentName;
        return this;
    }

    public Date getArrivedTimeStart() {
        return arrivedTimeStart;
    }

    public SearchCremationArchivesData setArrivedTimeStart(Date arrivedTimeStart) {
        this.arrivedTimeStart = arrivedTimeStart;
        return this;
    }

    public Date getArrivedTimeEnd() {
        return arrivedTimeEnd;
    }

    public SearchCremationArchivesData setArrivedTimeEnd(Date arrivedTimeEnd) {
        this.arrivedTimeEnd = arrivedTimeEnd;
        return this;
    }
}
